package com.zyf.hos.gw.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 资源
 */
@TableName(value = "source")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Source {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    @TableField(value = "name")
    private String name;
    @TableField(value = "source_type_id")
    private int sourceTypeId;
    @TableField(value = "content")
    private String content;
    @TableField(value = "is_delete")
    private int isDelete;//值为0表示数据未删除，值为1表示数据已经删除

}
